﻿namespace Tentacle.Core
{
    public class WebRequest
    {
        private readonly WebSite  _site;
        private readonly WebToken _token;

        public WebRequest(WebSite site) : this(site, null) { }
        

        public WebRequest(WebSite site,WebToken token)
        {
            _site = site;
            _token = token;
        }

        public string Site {
            get {
                return _site.Url;
            }
        }

        public WebToken Token {
            get {
                return _token;
            }
        }
    }
}
